//
//  BasicButton.m
//  xpkc
//
//  Created by TopSage on 15/10/16.
//  Copyright (c) 2015年 TopSage. All rights reserved.
//

#import "BasicButton.h"

@implementation BasicButton

- (id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatBasicView];
    }
    return self;
}

- (void)creatBasicView{
    self.buttonImage = [[UIImageView alloc]initWithFrame:CGRectZero];
    [self addSubview:self.buttonImage];
    
    self.buttonTitle = [[UILabel alloc]initWithFrame:CGRectZero];
    [self addSubview:self.buttonTitle];
}

@end
